package cn.kgc.ebook.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Ebookentry {
    private Integer id;

    private String catrgoryid;

    private String title;

    private String summary;

    private String uploaduser;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date creaedate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCatrgoryid() {
        return catrgoryid;
    }

    public void setCatrgoryid(String catrgoryid) {
        this.catrgoryid = catrgoryid == null ? null : catrgoryid.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getUploaduser() {
        return uploaduser;
    }

    public void setUploaduser(String uploaduser) {
        this.uploaduser = uploaduser == null ? null : uploaduser.trim();
    }

    public Date getCreaedate() {
        return creaedate;
    }

    public void setCreaedate(Date creaedate) {
        this.creaedate = creaedate;
    }
}